//
//  MCouponCoverView.h
//  EasyToo
//
//  Created by Jr Lan on 13-8-30.
//
//

#import <UIKit/UIKit.h>
#import "iCarousel.h"
#import "Merchant.h"

@protocol CouponCoverViewDelegate <NSObject>

- (void)coverDetailClick:(Merchant*)couponinfo;

@end

@interface CouponCoverView : UIView <iCarouselDataSource, iCarouselDelegate, UIActionSheetDelegate>

@property (nonatomic, strong) iCarousel *carousel;
@property (nonatomic, assign) BOOL wrap;
@property (nonatomic, strong) NSMutableArray *items;
@property (nonatomic, assign) NSMutableArray *couponArray;

@end


@interface CouponCoverItemView : UIView

@property (nonatomic, assign) UIImageView *imageView;
@property (nonatomic, assign) UILabel *labelView;

- (void)setMovieImageUrl:(NSString*)url Name:(NSString*)name;

@end